package com.example.demo.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

// DepartmentWithDishesDTO.java
// DepartmentWithDishesDTO.java
@Data
public class DepartmentWithDishesDTO {
    private Integer id;
    private String name;
    private List<DishDTO> dishes;

    @Data
    public static class DishDTO {
        private Integer id;
        private String name;
        private BigDecimal price;
        private Integer quantity; // 新增字段
    }
}
